﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LicensingSystem
{
    public class LicenseSystemManager
    {
        public static user LoginSystem(string username, string password)
        {
            using (license_manager_dbEntities ct = new license_manager_dbEntities())
            {
                var query = ct.users.Single(u => u.Username == username && u.Password == password);
                return query;
            }
        }
    }
}
